//
//  ViewController.m
//  PlistTool
//
//  Created by 王恕 on 16/1/14.
//  Copyright © 2016年 王恕. All rights reserved.
//

#import "ViewController.h"
#import "PlistTool.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //创建一个存放从Plist文件取出数据的数组
    NSArray *array = [NSArray array];
    
    PlistTool *Plist = [[PlistTool alloc] init];
     [Plist addNewDataWith:@"123"];
    array = [Plist getAllData];
    NSLog(@"%@",array);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
